//
//  TestAuthView.swift
//  TestActorLibraryProject
//
//  Created by rolodestar on 2025/5/20.
//

import SwiftUI
import RoAuth

struct TestAuthView: View {
    @StateObject var authStatus: AuthStatus = AuthStatus.shared
    @StateObject var auth: RoAuth = RoAuth()
    
    var body: some View {
        VStack{
            Text("\(authStatus.status.description)")
            Text("\(authStatus.enableBiometryType)")
            Button {
                let _ = auth.requestEvluate()
            } label: {
                Text("evluate")
            }
            Spacer()

        }
    }
}

#Preview {
    TestAuthView()
}
